package com.zkj.cloud.order.feignService;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName: PaymentFeignService
 * @Description: TODO
 * @Author: 朱开军
 * @Date: 2021-9-9 18:47
 * @Copyright: © 福建瑞术信息 版权所有
 */
@Component
@FeignClient(value = "PAY-SERVER", fallback = PaymentFallbackService.class)
public interface PaymentFeignService {

    @GetMapping("/demo/list")
    JSONObject getList();

    @GetMapping("/demo/demo")
    String demo();
}
